﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace LyncServerExtension
{
    /// <summary>
    /// Interface to represent a resulting object of a HTTP web service operation.
    /// </summary>
    public interface ILyncResult
    {
        /// <summary>
        /// Gets the mime-type.
        /// </summary>
        /// <value>
        /// The mime-type of the result.
        /// </value>
        string MimeType { get; }

        /// <summary>
        /// Writes this result to the given stream.
        /// </summary>
        /// <param name="stream">The stream.</param>
        void Write(Stream stream);
    }
}
